package mylibrary.com.thinking.java.chapter5;

public class SimpleEnumUse {

	public static void main(String[] args) {
		
		Spiciness spi = Spiciness.a;
		System.out.println(spi);
		
		for(Spiciness s:Spiciness.values()) {
			System.out.println(s + " " + s.ordinal());
		}
	}
}
